<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>添加图书</title>
</head>
<body>
	<div style="width=200px;" align="center">添加图书</div>
	<form action="${pageContext.request.contextPath}/AddBook" method="post">
	<!-- pageContext.request.contextPath为Web应用根路径 -->
	<% 
		request.setCharacterEncoding("utf-8");
	
	%>
			书名：<input type="text" name="bookname" ><br>
			作者:<input type="text" name="author" ><br>
			出版社:<input type="text" name="press" ><br>
			ISBN:<input type="text" name="isbn"><br>
			图书类别: <select name="category">
			<option>选择图书类别</option>
			<option>程序设计</option>
			<option>数据库</option>
			<option>图像处理</option>
			</select>
			单价:<input type="text" name="price"><br>
			<input type="submit" value="确定">
			<input type="reset" value="重置">
			<input type="button" value="返回" onclick="${pageContext.request.contextPath}/list.jsp">
	
	</form>
</body>
</html>